package com.py.outbound.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * 
 * @author ruoyi
 */
@ToString
public class OdSaleDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售明细主键 */
    private Long saleDetailsId;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String saleDetailsCode;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String productName;

    /** 货品编号 */
    @Excel(name = "货品编号")
    private String productCode;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String productModel;

    /** 单位 */
    @Excel(name = "单位")
    private Long unit;

    /** 货品类型 */
    @Excel(name = "货品类型")
    private String productType;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long inventory;

    /** 货品数量 */
    @Excel(name = "货品数量")
    private Long productNum;

    /** 已出库数量 */
    @Excel(name = "已出库数量")
    private Long alreadyOutNum;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Long rejectedNum;

    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal price;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDel;
    //单价

    private BigDecimal inPrice;

    /** 已出库数量 */
    private Integer shipped;

    /** 未出库数量 */
    private Integer notShipped;

    /** 出库数量 */
    private Integer shippedNum;

    /** 出库金额 */
    private BigDecimal shippedMoney;

    public Long getSaleDetailsId() {
        return saleDetailsId;
    }

    public void setSaleDetailsId(Long saleDetailsId) {
        this.saleDetailsId = saleDetailsId;
    }

    public String getSaleDetailsCode() {
        return saleDetailsCode;
    }

    public void setSaleDetailsCode(String saleDetailsCode) {
        this.saleDetailsCode = saleDetailsCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Long getInventory() {
        return inventory;
    }

    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public Long getProductNum() {
        return productNum;
    }

    public void setProductNum(Long productNum) {
        this.productNum = productNum;
    }

    public Long getAlreadyOutNum() {
        return alreadyOutNum;
    }

    public void setAlreadyOutNum(Long alreadyOutNum) {
        this.alreadyOutNum = alreadyOutNum;
    }

    public Long getRejectedNum() {
        return rejectedNum;
    }

    public void setRejectedNum(Long rejectedNum) {
        this.rejectedNum = rejectedNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public BigDecimal getInPrice() {
        return inPrice;
    }

    public void setInPrice(BigDecimal inPrice) {
        this.inPrice = inPrice;
    }

    public Integer getShipped() {
        return shipped;
    }

    public void setShipped(Integer shipped) {
        this.shipped = shipped;
    }

    public Integer getNotShipped() {
        return notShipped;
    }

    public void setNotShipped(Integer notShipped) {
        this.notShipped = notShipped;
    }

    public Integer getShippedNum() {
        return shippedNum;
    }

    public void setShippedNum(Integer shippedNum) {
        this.shippedNum = shippedNum;
    }

    public BigDecimal getShippedMoney() {
        return shippedMoney;
    }

    public void setShippedMoney(BigDecimal shippedMoney) {
        this.shippedMoney = shippedMoney;
    }
}
